home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / PDriver / s / SelectIllu < prev    next >
Text File  |  1995-08-26  |  1KB  |  34 lines

  1. ;   ####             #    #     # #
  2. ;   #   #            #    #       #          The FreeWare C library for
  3. ;   #   #  ##   ###  #  # #     # ###             RISC OS machines
  4. ;   #   # #  # #     # #  #     # #  #   ___________________________________
  5. ;   #   # ####  ###  ##   #     # #  #
  6. ;   #   # #        # # #  #     # #  #    Please refer to the accompanying
  7. ;   ####   ### ####  #  # ##### # ###    documentation for conditions of use
  8. ;   ________________________________________________________________________
  9. ;
  10. ;   File:    PDriver.SelectIllu.s
  11. ;   Author:  Copyright © 1993 Jason Howat
  12. ;   Version: 1.00 (07 Jul 1993)
  13. ;   Purpose: Makes the given print job the current one, and treats
  14. ;            it as an illustration.
  15.  
  16.         GET     ^.h.regdefs
  17.         GET     ^.h.swinos
  18.         GET     ^.h.macros
  19.  
  20. ; os_error *PDriver_SelectIllustration(print_job new, char *title, print_job *old);
  21.  
  22.         PREAMBLE
  23.         STARTCODE PDriver_SelectIllustration
  24. ;
  25.         STMFD   sp!, {lr}
  26.         SWI     SWI_PDriver_SelectIllustration + XOS_Bit
  27.         LDMVSFD sp!, {pc}^
  28.         CMP     a3, #0
  29.         STRNE   r0, [a3, #0]
  30.         MOV     a1, #0
  31.         LDMFD   sp!, {pc}^
  32. ;
  33.         END
  34.